<template>
  <span class="control-label">
    <i class="must" v-if="must">*</i>
    <slot></slot>
  </span>
</template>

<script>
export default {
  props: {
    label: {
      type: String,
      default: null
    },
    must: {
      type: Boolean,
      default: true
    }
  }
}
</script>